#include "stdio.h"

int f(int n)
{
    return f(n-1) + n;
}

int main()
{
    int ans = f(4);
    printf("%d\n", ans);

}